﻿@model Comment

<div style="margin: 10px 5px" id="c@(Model.Id)">
    <div class="commentAutor">        
        Отзыв от @Html.ShowUserName(Model.Author) (@Model.PostDate)
        <a href="@(Model.Url + "#c" + Model.Id)">#</a>
        @Html.Raiting("Comments", Model.Id, Model.Raiting)
        @Html.Delete("Comments", Model.Id)      
        @Html.EditDialog("Comments", "Text", Model.Id, Model.Text, Model.Author) 
    </div>
    <div class="comment">@Html.ReplaceKeyOnContent(Model.CommentText, true)</div>
</div>